package com.qf.commerce.mapper;

import com.qf.commerce.entity.CancelReason;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CancelReasonMapper {
    //取消订单原因展示
    List<CancelReason> selectAll();
    //批量删除
    int deleteById(@Param("cancelReasonId") List<Long> cancelReasonId);
    //修改
    int updateById(@Param("cancelReason") CancelReason cancelReason);
    //添加
    int insertCancel(@Param("cancelReason") CancelReason cancelReason);
}
